This week’s tool is “Baobab.” It is a Linux based tool that helps analyze disk usage. If any sys admins out there have any experience with Ubuntu Linux, they may already be familiar with Baobab (it’s listed as “Disk Usage Analyzer” in your ‘Accessories’ toolbar).
Below is a sample image of the output you get after you first start Baobab:
The above output is very pretty and makes identifying what’s taking up the most disk resources a snap.
However, the above snapshot is a view of local disk usage. The killer feature of this tool is that it allows you to view disk usage on remote servers using protocols like ssh, ftp, webdav, etc.
I’ll illustrate the usefulness of this with a real scenario we faced at the Mozplex a while back. We have an Intranet file server that we use to store the valuable information that is used to power SEOmoz (like articles, legal documents, and the entire Wu-tang Clan discography).
One day I came into work and was greeted with an urgent email saying that nobody could save any new documents on the Intranet. I quickly logged in and discovered that the disks were completely full. I calmly thought to myself, “OMG WTF?” I began solving the problem by plugging in my ssh credentials and grabbing a cup of coffee while Baobab worked its magic. After a short while, the entire scan was complete and I was able to pinpoint the problem:
That’s a whole lot of rock! Come with me as I journey further into the ROCK! that powers SEOmoz.
Well well well, what do we have here……
DREAM THEATER?!?
3.4 GB OF DREAM THEATER?!
As you can see, Baobab allows you to view your disk usage in a very convenient way. Other visualization formats are available, so if you get a chance play around with it, it’s very cool.
Baobab is currently Linux only (although there have been reports of it working with Mac OS X). If you don’t have access to a Linux machine, VMware is a nice compromise. I recently made the switch to OS X and am running Gutsy on my Macbook using VMware fusion.
If anybody out there has any other recommendations for tools that can analyze disk usage on remote machines, please say so!
That’s it for this week! Next week we’ll be back with another tool that can help make the tech in your company less technical.